package com.ithema.mArrayList;

import java.util.Random;

public class test {
    public static void main(String[] args) {
        String str = getStr();
        System.out.println(str);
    }

    public static String getStr() {
        Random r = new Random();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i <= 5; i++) {
            if (i == 1) {
                //i1 = r.nextInt(10);
                sb.append(r.nextInt(10));
            } else {
                sb.append((char) (r.nextInt(26) + 65));
            }

        }
        return sb.toString();
    }
}